home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 37
/
Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso
/
Aminet
/
util
/
wb
/
CmdRun104.readme
< prev
next >
Wrap
Text File
|
2000-05-02
|
6KB
|
161 lines
Short: Global help for all programs
Author: Christian Effenberger (YouCan@a2.amclust.de)
Uploader: Christian Effenberger (YouCan@a2.amclust.de)
Version: 1.04 (29.01.2000)
Type: util/wb
Kurz: globale Hilfe für alle Programme
Origin: CanDo SDK 1.24
Requires: OS 2.x, cando.library
Address:
-------
Christian Effenberger
Suedstrasse 2
41564 Kaarst
G E R M A N Y
0049-(0)2131-669392
YouCan@a2.amclust.de
CmdRun 1.04 (29.01.2000), © 2000 by Christian Effenberger
CmdRun is a small program that enhances the Standard Tool for project
icons. All these things you didn't thought was possible for Project files
is now reality. How about unpacking a LhA-archive only by doubleclicking it!
It works for any project file which got an icon (even with icons only).
Do not use strings longer than 255 Characters.
It is used through tooltypes and certain special %-codes:
ACTION This tooltype MUST be available. The following string (each line
separeted by "|") will be executed like an DOS-call but...
...if there is any %-codes in the string, CmdRun will replace
them with the following:
%f = the filename of the project file calling will be inserted.
%p = the pathname of the project file calling will be inserted.
%pf = the path- and filename of the project file calling will be inserted.
%fr = the file chosen by the user from a file requester will be inserted.
%sr = the savefile chosen by the user from a file requester will be inserted.
%pr = the path chosen by the user from a path requester will be inserted.
Simple EXAMPLES:
Unpacking... ACTION=LhA x "%pf" "%pr"
Listing..... ACTION=LhA v "%pf"
Viewing..... ACTION=Sys:Utilities/Multiview "%pf"
Printing.... ACTION=Sys:Utilities/PrintFiles -f "%pf"
Editing..... ACTION=ed "%pf"
Copy to ?... ACTION=Copy FROM "%f" "%f.info" TO "%pr"
To Clipboard ACTION=Copy FROM "%pf" TO CLIP:
Deleting.... ACTION=Delete "%pf"|Delete "%pf.info"
Special EXAMPLES: (icons only)
Surfing.... ACTION=Prg:Tools/Browser/Voyager URL "http://%f"
Mailing.... ACTION=Prg:Tools/Mailer/AmigaMail MAIL SUB "Hi," TO %f
Cliping.... ACTION=Sys:Utilities/Multiview CLIPBOARD CLIPUNIT 0
Complex EXAMPLES: (multilines)
ACTION=Echo "Hi," >"Ram:T/mdtemp.mdt"|...
Echo "/** Rexx **/" >"T:Rexx.tmp"|...
Echo "ADDRESS 'MICRODOT'" >>"T:Rexx.tmp"|...
Echo "SENDMAIL 'TO=*"*%f*"* BODYFILE=*"*Ram:T/mdtemp.mdt*"* SUBJECT=*"*?*"* WAIT'" >>"T:Rexx.tmp"|...
Sys:RexxC/RX "T:CmdRun.tmp"
WINDOW This tooltype handles the output window that will be used by ACTION.
Template is CON:X/Y/WIDTH/HEIGHT/TITLE/OPTION/OPTION ../OPTION.
X = the shells horizontal Window Position.
Y = the shells vertical Window Position.
WIDTH = the shells Window Width.
HEIGHT = the shells Window Height.
TITLE = the shells Title Text.
OPTIONS:
AUTO = open a shell window only if needed.
ALT = add a zoom gadget to shell window (i.e. ALT30/30/200/200).
BACKDROP = use a backdrop shell window.
CLOSE = add standard gadgets to shell window.
INACTIV = shell window is not activated after startup.
NOBORDER = use a borderless shell window.
NOCLOSE = remove close gadget from shell window.
NODEPTH = remove depth gadget from shell window.
NODRAG = use a none dragable shell window.
NOSIZE = remove size gadget from shell window.
SCREEN = open shell window on a public screen (i.e. SCREENWorkbench)
SIMPLE = use a simple refreshed shell window.
SMART = use a smart refreshed shell window.
WAIT = use shell window until the user will close it.
For Example (if you need an output-window):
WINDOW=CON:0/0/640/100/LhA-Output/WAIT/CLOSE
To give the user serveral choices of selection...
REQBUTTONS This tooltype is used to ask the user which action he wants to take.
It should be a string with button labels separeted by "|". CmdRun
will always use the rightmost label to abort. The first action will
use ACTION/WINDOW the second ACTION2/WINDOW2, the third ACTION3/WINDOW3
etc. (there is a maximum of 6 actions excluding abortion.)
For a LhA archive this could be:
REQBUTTONS=Extract|List|Test|Cancel
REQTEXT This tooltype is used for the Requester text. It should be a string
with each line separeted by "|". For Example: (default value)
REQTEXT=Please select the action|you want to be executed!
REQTITLE This tooltype is used for the Requester title. For Example: (default value)
REQTITLE=Make your choice...
FRQTITLE This tooltype is used for the FILE-Requester title. For Example: (default value)
FRQTITLE=Select a file...
SRQTITLE This tooltype is used for the SAVEFILE-Requester title. For Example: (default value)
FRQTITLE=Save file as...
PRQTITLE This tooltype is used for the PATH-Requester title. For Example: (default value)
PRQTITLE=Select a path...
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
7484 7402 1.0% 09-Apr-00 16:39:30 CmdRun/CmdRun
4937 1863 62.2% 09-Apr-00 16:41:36 CmdRun/CmdRun.Readme
3617 2143 40.7% 16-Jan-00 16:22:20 CmdRun/CmdRun.Readme.info
27890 27890 0.0% 09-Apr-00 16:33:30 CmdRun/Examples.lha
3480 2413 30.6% 16-Jan-00 16:24:52 CmdRun/Examples.lha.info
-------- ------- ----- --------- --------
47408 41711 12.0% 09-Apr-100 16:43:48 5 files
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
7484 7402 1.0% 09-Apr-00 16:39:30 +CmdRun
4937 1863 62.2% 09-Apr-00 16:41:36 +CmdRun.Readme
3617 2143 40.7% 16-Jan-00 16:22:20 +CmdRun.Readme.info
27890 27890 0.0% 09-Apr-00 16:33:30 +Examples.lha
3480 2413 30.6% 16-Jan-00 16:24:52 +Examples.lha.info
-------- ------- ----- --------- --------
47408 41711 12.0% 10-Apr-100 09:52:04 5 files